<template>
	<view class="expert-detail">
		<image :src="expert.picDetail | avatarUrlFind('1')" mode="aspectFill" class="expert-image" />
	</view>
</template>

<script>
	
	export default {
		name: 'ExpertDetail',
		data() {
			return {
				expert: {},
				points: 0,
				userId: this.$store.state.user.userId
			}
		},

		onLoad(option) {
			this.expert = JSON.parse(decodeURIComponent(option.expert))
			console.log(this.expert)
		},

		


	}
</script>

<style>
	.expert-detail {
		width: 100%;
		min-height: 100vh;
		background-color: #f5f5f5;
	}

	.expert-image {
		width: 100%;
		height: 100vh;
		display: block;
	}
</style>